﻿using System;
using JanusLibAing.AutoSave;

namespace JanusTestProject
{
    public enum ETest
    {
        None,
        Test1,
        Test2,
    }

    public class TestEnum : DataItemEnum
    {
        public const string Key = "TestEnum";

        /// <summary>
        /// Initializes a new instance of the <see cref="TestString"/> class.
        /// </summary>
        public TestEnum()
            : this(ETest.None)
        {

        }

        public TestEnum(Enum value)
            : base(value)
        {
        }

        public override string Name
        {
            get { return Key; }
        }
    }

    public class TestEnumValue : DataItemEnumValue
    {
        public const string Key = "TestEnumValue";

        /// <summary>
        /// Initializes a new instance of the <see cref="TestString"/> class.
        /// </summary>
        public TestEnumValue()
            : this(ETest.None)
        {

        }

        public TestEnumValue(Enum value)
            : base(value)
        {
        }

        public override string Name
        {
            get { return Key; }
        }
    }

}